From 584a807ed64cf512c9d98432659ec2ae984439fe Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Mon, 19 Jun 2023 20:28:01 +0100 Subject: [PATCH] =?utf8?q?Widget:=20Also=20mention=20get=5Fheight=20in=20g?= =?utf8?q?et=5Falloc=20dep=CA=BCn?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The deprecation notice seems to have been copied from get_allocated_width(), but for get_allocation() height is also relevant. --- gtk/gtkwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index b22ee1bdb0..c33c4d4256 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -10102,7 +10102,8 @@ gtk_widget_get_has_tooltip (GtkWidget *widget) * the assigned bounds, but not that they have exactly the bounds the * container assigned. * - * Deprecated: 4.12: Use [method@Gtk.Widget.compute_bounds] or [method@Gtk.Widget.get_width] instead + * Deprecated: 4.12: Use [method@Gtk.Widget.compute_bounds], + * [method@Gtk.Widget.get_width] or [method@Gtk.Widget.get_height] instead. */ void gtk_widget_get_allocation (GtkWidget *widget, -- 2.30.2